package crm.system.entity;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * Orders entity. @author MyEclipse Persistence Tools
 */

public class Orders implements java.io.Serializable {

	// Fields

	private BigDecimal odrId;
	private CstCustomer cstCustomer;
	private Timestamp odrDate;
	private String odrAddr;
	private String odrStatus;

	// Constructors

	/** default constructor */
	public Orders() {
	}

	/** minimal constructor */
	public Orders(CstCustomer cstCustomer, Timestamp odrDate, String odrStatus) {
		this.cstCustomer = cstCustomer;
		this.odrDate = odrDate;
		this.odrStatus = odrStatus;
	}

	/** full constructor */
	public Orders(CstCustomer cstCustomer, Timestamp odrDate, String odrAddr,
			String odrStatus) {
		this.cstCustomer = cstCustomer;
		this.odrDate = odrDate;
		this.odrAddr = odrAddr;
		this.odrStatus = odrStatus;
	}

	// Property accessors

	public BigDecimal getOdrId() {
		return this.odrId;
	}

	public void setOdrId(BigDecimal odrId) {
		this.odrId = odrId;
	}

	public CstCustomer getCstCustomer() {
		return this.cstCustomer;
	}

	public void setCstCustomer(CstCustomer cstCustomer) {
		this.cstCustomer = cstCustomer;
	}

	public Timestamp getOdrDate() {
		return this.odrDate;
	}

	public void setOdrDate(Timestamp odrDate) {
		this.odrDate = odrDate;
	}

	public String getOdrAddr() {
		return this.odrAddr;
	}

	public void setOdrAddr(String odrAddr) {
		this.odrAddr = odrAddr;
	}

	public String getOdrStatus() {
		return this.odrStatus;
	}

	public void setOdrStatus(String odrStatus) {
		this.odrStatus = odrStatus;
	}

}